<?php

/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/8/21
 * Time: 10:43
 */
class 实现可以返回多个值的函数
{

}
function retrieve_user_profile() {
    $user[] = "Jason";
    $user[] = "sharejs.com";
    $user[] = "English";
    return $user;
}
list($name,$email,$language) = retrieve_user_profile();
echo "Name: $name, email: $email, preferred language: $language";